package com.zhuss.bean.vo.core.user;

import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import com.zhuss.common.AbstractVo;

public class DetailUserVo extends AbstractVo {
	
	private Long userId;

    private String username;

    private String pwd;
    
    private Set<String> cid;

    private String name;

    private Integer status;

    private Integer age;

    private Integer sex;
    
    private Integer type;

    private Long companyId;

    private String phone;
    
    private String pic;

    private Integer isBind;

    private String openId;

    private String creator;

    private Long creatorId;

    private Date createTime;

    private String modifier;

    private Long modifierId;

    private Date modifyTime;
    
    private List<Long> deptIdList;
    
    private String companyName;
    
    private List<Long> roleIdList;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }
    
    public Set<String> getCid() {
		return cid;
	}
    
    public void setCid(String cid) {
    	this.cid = new HashSet<>();
    	if (cid != null && !"".equals(cid)) {
            String[] strList = cid.split(",");
            for (String str : strList) {
                this.cid.add(str);
            }
        }
	}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
    
    public Integer getType() {
		return type;
	}
    
    public void setType(Integer type) {
		this.type = type;
	}

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }
    
    public String getPic() {
		return pic;
	}
    
    public void setPic(String pic) {
		this.pic = pic;
	}
	
	public Integer getIsBind() {
		return isBind;
	}
	
	public void setIsBind(Integer isBind) {
		this.isBind = isBind;
	}

	public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public Long getModifierId() {
        return modifierId;
    }

    public void setModifierId(Long modifierId) {
        this.modifierId = modifierId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

	public List<Long> getDeptIdList() {
		return deptIdList;
	}

	public void setDeptIdList(List<Long> deptIdList) {
		this.deptIdList = deptIdList;
	}
	
	public String getCompanyName() {
		return companyName;
	}
	
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	
	public List<Long> getRoleIdList() {
		return roleIdList;
	}
	
	public void setRoleIdList(List<Long> roleIdList) {
		this.roleIdList = roleIdList;
	}
	
}
